RTDS: fix another instance of the 'read NOW()' race
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 25 May 2016 12:33:57 +0000 (14:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 May 2016 12:33:57 +0000 (14:33 +0200)
commit4074e4ebe9115ac4986f963a13feada3e0560460
tree5c3bf6498d1ea9ec109f78d9b5d9627b764c04a5
parent4504b7d1a6594c8ad4b1ecdab15d30feca7eaa51
RTDS: fix another instance of the 'read NOW()' race

which was overlooked in 779511f4bf5ae ("sched: avoid
races on time values read from NOW()").

Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Meng Xu <mengxu@cis.upenn.edu>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/common/sched_rt.c